package com.hongye.es.feign;

import com.hongye.common.entity.RentHouseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("findhouse-broker")
public interface RentHouseFeign {

    @RequestMapping("/rentHouse/rentList")
    public List<RentHouseEntity> list();
}
